/*

 */

#import <UIKit/UIKit.h>

@interface UIView (CoreGraphics)

//linear gradient
void drawLinearGradient(CGContextRef context, CGRect rect, CGColorRef startColor, CGColorRef endColor);

//draws rect
void draw1PxStroke(CGContextRef context, CGPoint startPoint, CGPoint endPoint, CGColorRef color);

//draws rect around frame
void drawBorderInFrame(CGContextRef context, CGRect frame, CGFloat radius, CGFloat borderWidth, CGColorRef color);

//draws rect with bottom corner radius
void drawRectWithBottomCornerRadius(CGContextRef context, CGRect frame, CGFloat radius, CGColorRef color);

//adds rounded corners to given rect
void addRoundedCornersToRect(CGContextRef context, CGRect frame, CGFloat radius, CGColorRef color);

@end
